<template>
  <div id="app">
    <!--    <img src="./assets/logome.png" alt="">-->
    <!--    <span>我是app跟组件 </span>-->
    <!-- 头部 -->
    <Header></Header>
    <!-- 路由组件出口的地方:展示的地方 -->
    <router-view></router-view>
    <!-- 底部 -->
    <Footer v-show="$route.path == '/home' || $route.path == '/search'"></Footer>
<!--    <router-view />-->
  </div>
</template>

<script>
// 引入header组件
import Header from "./components/Header/index";
import Footer from "./components/Footer/index"

export default {
  name: 'App',
  components: {
    Header,
    Footer,
  }

}
</script>

<style scoped></style>
